Optimal. Leaf size=261 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (-3 A b e-4 A c d+2 b B d)}{b^3 d^{5/2}}-\frac{e \left (b^2 (-e) (2 B d-3 A e)-b c d (2 A e+B d)+2 A c^2 d^2\right )}{b^2 d^2 \sqrt{d+e x} (c d-b e)^2}+\frac{c (A b e-2 A c d+b B d)}{b^2 d (b+c x) \sqrt{d+e x} (c d-b e)}+\frac{c^{3/2} \left (7 A b c e-4 A c^2 d-5 b^2 B e+2 b B c d\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 (c d-b e)^{5/2}}-\frac{A}{b d x (b+c x) \sqrt{d+e x}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.25902, antiderivative size = 261, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.269 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (-3 A b e-4 A c d+2 b B d)}{b^3 d^{5/2}}-\frac{e \left (b^2 (-e) (2 B d-3 A e)-b c d (2 A e+B d)+2 A c^2 d^2\right )}{b^2 d^2 \sqrt{d+e x} (c d-b e)^2}+\frac{c (A b e-2 A c d+b B d)}{b^2 d (b+c x) \sqrt{d+e x} (c d-b e)}-\frac{c^{3/2} \left (-b c (7 A e+2 B d)+4 A c^2 d+5 b^2 B e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 (c d-b e)^{5/2}}-\frac{A}{b d x (b+c x) \sqrt{d+e x}} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/((d + e*x)^(3/2)*(b*x + c*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/(e*x+d)**(3/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.08746, size = 209, normalized size = 0.8 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right ) (-3 A b e-4 A c d+2 b B d)}{b^3 d^{5/2}}+\sqrt{d+e x} \left (\frac{c^2 (b B-A c)}{b^2 (b+c x) (c d-b e)^2}-\frac{A}{b^2 d^2 x}+\frac{2 e^2 (B d-A e)}{d^2 (d+e x) (c d-b e)^2}\right )-\frac{c^{3/2} \left (-b c (7 A e+2 B d)+4 A c^2 d+5 b^2 B e\right ) \tanh ^{-1}\left (\frac{\sqrt{c} \sqrt{d+e x}}{\sqrt{c d-b e}}\right )}{b^3 (c d-b e)^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/((d + e*x)^(3/2)*(b*x + c*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.04, size = 427, normalized size = 1.6 \[ -2\,{\frac{{e}^{3}A}{{d}^{2} \left ( be-cd \right ) ^{2}\sqrt{ex+d}}}+2\,{\frac{{e}^{2}B}{d \left ( be-cd \right ) ^{2}\sqrt{ex+d}}}-{\frac{{c}^{3}eA}{ \left ( be-cd \right ) ^{2}{b}^{2} \left ( cex+be \right ) }\sqrt{ex+d}}+{\frac{e{c}^{2}B}{ \left ( be-cd \right ) ^{2}b \left ( cex+be \right ) }\sqrt{ex+d}}-7\,{\frac{{c}^{3}eA}{ \left ( be-cd \right ) ^{2}{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+4\,{\frac{{c}^{4}Ad}{ \left ( be-cd \right ) ^{2}{b}^{3}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }+5\,{\frac{e{c}^{2}B}{ \left ( be-cd \right ) ^{2}b\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-2\,{\frac{{c}^{3}Bd}{ \left ( be-cd \right ) ^{2}{b}^{2}\sqrt{ \left ( be-cd \right ) c}}\arctan \left ({\frac{c\sqrt{ex+d}}{\sqrt{ \left ( be-cd \right ) c}}} \right ) }-{\frac{A}{{b}^{2}{d}^{2}x}\sqrt{ex+d}}+3\,{\frac{Ae}{{b}^{2}{d}^{5/2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }+4\,{\frac{Ac}{{b}^{3}{d}^{3/2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) }-2\,{\frac{B}{{b}^{2}{d}^{3/2}}{\it Artanh} \left ({\frac{\sqrt{ex+d}}{\sqrt{d}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/(e*x+d)^(3/2)/(c*x^2+b*x)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*(e*x + d)^(3/2)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 17.5641, size = 1, normalized size = 0. \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*(e*x + d)^(3/2)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/(e*x+d)**(3/2)/(c*x**2+b*x)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.29967, size = 675, normalized size = 2.59 \[ -\frac{{\left (2 \, B b c^{3} d - 4 \, A c^{4} d - 5 \, B b^{2} c^{2} e + 7 \, A b c^{3} e\right )} \arctan \left (\frac{\sqrt{x e + d} c}{\sqrt{-c^{2} d + b c e}}\right )}{{\left (b^{3} c^{2} d^{2} - 2 \, b^{4} c d e + b^{5} e^{2}\right )} \sqrt{-c^{2} d + b c e}} + \frac{{\left (x e + d\right )}^{2} B b c^{2} d^{2} e - 2 \,{\left (x e + d\right )}^{2} A c^{3} d^{2} e -{\left (x e + d\right )} B b c^{2} d^{3} e + 2 \,{\left (x e + d\right )} A c^{3} d^{3} e + 2 \,{\left (x e + d\right )}^{2} B b^{2} c d e^{2} + 2 \,{\left (x e + d\right )}^{2} A b c^{2} d e^{2} - 4 \,{\left (x e + d\right )} B b^{2} c d^{2} e^{2} - 3 \,{\left (x e + d\right )} A b c^{2} d^{2} e^{2} + 2 \, B b^{2} c d^{3} e^{2} - 3 \,{\left (x e + d\right )}^{2} A b^{2} c e^{3} + 2 \,{\left (x e + d\right )} B b^{3} d e^{3} + 7 \,{\left (x e + d\right )} A b^{2} c d e^{3} - 2 \, B b^{3} d^{2} e^{3} - 2 \, A b^{2} c d^{2} e^{3} - 3 \,{\left (x e + d\right )} A b^{3} e^{4} + 2 \, A b^{3} d e^{4}}{{\left (b^{2} c^{2} d^{4} - 2 \, b^{3} c d^{3} e + b^{4} d^{2} e^{2}\right )}{\left ({\left (x e + d\right )}^{\frac{5}{2}} c - 2 \,{\left (x e + d\right )}^{\frac{3}{2}} c d + \sqrt{x e + d} c d^{2} +{\left (x e + d\right )}^{\frac{3}{2}} b e - \sqrt{x e + d} b d e\right )}} + \frac{{\left (2 \, B b d - 4 \, A c d - 3 \, A b e\right )} \arctan \left (\frac{\sqrt{x e + d}}{\sqrt{-d}}\right )}{b^{3} \sqrt{-d} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*(e*x + d)^(3/2)),x, algorithm="giac")
[Out]